package cn.yunchongbao.charging.order.mqtt;

import cn.yunchongbao.charging.order.mapper.OrderFailMapper;
import cn.yunchongbao.charging.order.mapper.OrderSuccessMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class MqttContext {
    @Autowired
    private OrderSuccessMapper  orderSuccessMapper;
    @Autowired
    private OrderFailMapper orderFailMapper;

    public OrderSuccessMapper getOrderSuccessMapper() {
        return orderSuccessMapper;
    }

    public OrderFailMapper getOrderFailMapper() {
        return orderFailMapper;
    }
}
